import request from '@/utils/myrequest'

export function getCodeInfo(kvs) {
  return request({
    url: '/ams/AlarmCodeSetting/Get',
    method: 'get',
    kvs
  })
}

export function doUpdate(kvs) {
  return request({
    url: '/ams/AlarmCodeSetting/Update',
    method: 'POST',
    kvs
  })
}
